/**
 * 
 */
package fr.cie.blog.controller;

import java.util.List;

import fr.cie.blog.beans.Card;
import fr.cie.blog.domainservice.IServiceCard;

/**
 * @author Jee3
 * 
 */
public class CardAction extends GenericAction {

	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = -7886017634300428896L;
	/**
	 * card.
	 */
	private Card card;
	/**
	 * cardList.
	 */
	private List<Card> cardList;

	/**
	 * serviceCard.
	 */
	private IServiceCard serviceCard;

	/**
	 * Constructor.
	 * 
	 * @param pServiceCard
	 *            serviceCard
	 */
	public CardAction(final IServiceCard pServiceCard) {
		super();
		serviceCard = pServiceCard;
	}

	/**
	 * @return the card
	 */
	public final Card getCard() {
		return card;
	}

	/**
	 * @return the cardList
	 */
	public final List<Card> getCardList() {
		return cardList;
	}

	/**
	 * @return the serviceCard
	 */
	public final IServiceCard getServiceCard() {
		return serviceCard;
	}

	/**
	 * @return SUCCESS
	 */
	public final String modifyPresentation() {
		return "";
	}

	/**
	 * @param pCard
	 *            the card to set
	 */
	public final void setCard(final Card pCard) {
		this.card = pCard;
	}

	/**
	 * @param pCardList
	 *            the cardList to set
	 */
	public final void setCardList(final List<Card> pCardList) {
		this.cardList = pCardList;
	}

	/**
	 * @param pServiceCard
	 *            the serviceCard to set
	 */
	public final void setServiceCard(final IServiceCard pServiceCard) {
		this.serviceCard = pServiceCard;
	}

}
